package com.lhkj.ct.meta.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lhkj.ct.base.enums.GlobalStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *      系统所有用户视图
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ViewAllUser对象", description="系统所有用户视图")
@TableName("all_user")
public class ViewAllUser {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "主键")
    private String userId;

    @ApiModelProperty(value = "工号", required = true, example = "0001")
    private String account;

    @ApiModelProperty(value = "姓名", required = true, example = "张三")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户类型", notes = "1.后台管理员(员工) 2.平台用户")
    private Integer userType;

    @ApiModelProperty(value = "任职科室")
    private String deptId;

    @ApiModelProperty(value = "任职机构")
    private String organId;

    @ApiModelProperty(value = "状态")
    private GlobalStatus status;
}
